/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ejercicios;

import java.util.Scanner;

/**
 *
 * @author zpiik3
 */
public class divideNum {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

        String s ;

        System.out.println("introduce una cadena");

        Scanner tec = new Scanner(System.in);
        s = tec.next();

        String st = s.substring(0,2);
        String ts = s.substring(3,5);


        System.out.println(st);
        System.out.println(ts);

        Integer i = Integer.parseInt(st);
        Integer i2 = Integer.parseInt(ts);

       int x = i * i2;

        System.out.println("resultado = "+x);

    }

}
